<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

/**
 * App\RiskAddress
 *
 * @property int $id
 * @property string $address 危险地址
 * @property int $status 状态
 * @property \Illuminate\Support\Carbon|null $created_at
 * @property \Illuminate\Support\Carbon|null $updated_at
 * @method static \Illuminate\Database\Eloquent\Builder|\App\RiskAddress newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\RiskAddress newQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\RiskAddress query()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\RiskAddress whereAddress($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\RiskAddress whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\RiskAddress whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\RiskAddress whereStatus($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\RiskAddress whereUpdatedAt($value)
 * @mixin \Eloquent
 */
class RiskAddress extends Model
{
    protected $table = 'risk_address';

    const STATUS_MAP  = [
        0 => '启用',
        1 => '停用',
    ];

}
